import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
    routes: [
        {
            path: '/',
            name: 'home',
            component: require('@/components/Home').default
            // component: require('@/components/douyin-live/matong').default
        },
        {
            path: '/searchBaidu',
            name: 'searchBaidu',
            component: require('@/components/search-baidu/index').default
        },
        {
            path: '/douyinLive',
            name: 'douyinLive',
            component: require('@/components/douyin-live/index').default
        },{
            path: '/douyinLive/matong',
            name: 'douyinLiveMatong',
            component: require('@/components/douyin-live/matong').default
        },
        {
            path: '*',
            redirect: '/'
        },
    ]
})
